﻿using System;
using System.Collections;
using System.Reflection;



namespace EHSubmit.Model
{
    /// <summary>
    ///Restores 的摘要说明
    /// </summary>
    public class Restores
    {
        private int _rID;
        private string _role;
        private int _resAnnID;
        private string _restoreBody;
        private string _restoreUID;
        private string _restoreName;
        private DateTime _resTime;

        public Restores()
        {

        }

        public bool Init()
        {
            this._rID = 0;
            this._resTime = DateTime.Now;
            this._resAnnID = 0;
            this._restoreBody = string.Empty;
            this._restoreName = string.Empty;
            this._restoreUID = string.Empty;
            this._role = string.Empty;
            return true;
        }

        public Restores(int _rID, int _resAnnID, string _restoreBody, string _restoreUID, string _restoreName, DateTime _resTime, string _role)
        {
            this._resAnnID = _resAnnID;
            this._resTime = _resTime;
            this._restoreBody = _restoreBody;
            this._restoreName = _restoreName;
            this._restoreUID = _restoreUID;
            this._rID = _rID;
            this._role = _role;
        }

        public int RID
        {
            get { return _rID; }
            set { _rID = value; }
        }

        public string Role
        {
            get { return _role; }
            set { _role = value; }
        }

        public string RestoreUID
        {
            get { return _restoreUID; }
            set { _restoreUID = value; }
        }


        public int ResAnnID
        {
            get { return _resAnnID; }
            set { _resAnnID = value; }
        }

        public string RestoreName
        {
            get { return _restoreName; }
            set { _restoreName = value; }
        }


        public DateTime ResTime
        {
            get { return _resTime; }
            set { _resTime = value; }
        }

        public string RestoreBody
        {
            get { return _restoreBody; }
            set { _restoreBody = value; }
        }

    }
}

